package com.cruisecontrol4eclipse.core.handlers;

import java.net.MalformedURLException;
import java.net.URL;

import com.cruisecontrol4eclipse.core.PersistedData;
import com.cruisecontrol4eclipse.core.model.CruiseControlProject;

public class BlameHandler extends AbstractBrowserEditorHandler<CruiseControlProject> {

	@Override
	URL getURL(CruiseControlProject project) {
		try {
			return new URL(PersistedData.getTranslatedWebSvnBlameUrl(project));
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}
		return null;
	}
}
